﻿using Common.Communal;
using ERP.Domain.CustomerSupplier;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sell.Services.Customers
{
    public interface ICustomerServices
    {
        /// <summary>
        /// 客户管理添加
        /// </summary>
        /// <param name="customers"></param>
        /// <returns></returns>
        Task<ApiResult<int>> AddCustomer(Customer customers);
        /// <summary>
        /// 客户管理修改
        /// </summary>
        /// <param name="customers"></param>
        /// <returns></returns>
        Task<ApiResult<int>> UpdateCustomer(Customer customers);
        /// <summary>
        /// 删除客户
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<ApiResult<int>> DeleteCustomer(int id);
    }
}
